package com.example.mapper;

import com.example.entity.Auth;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AuthMapper {
    int deleteByPrimaryKey(Integer authid);

    int insert(Auth record);

    int insertSelective(Auth record);

    Auth selectByPrimaryKey(Integer authid);

    List<Auth> selectByRoleId(Integer roleid);

    int updateByPrimaryKeySelective(Auth record);

    int updateByPrimaryKey(Auth record);
}